﻿@using MvcApplication2
@model MvcApplication2.Controllers.UserProfileViewModel
@{
    ViewBag.Title = "User Profile";
    Layout = "~/Views/Shared/_HomeLayout.cshtml";
}
<div class="page-header">
    <h2>
        @Model.DisplayName <small>user profile</small></h2>
    @Html.ActionLink("Send Message", "SendMessage","User",new {id=Model.UserProfileId}, new { @class = "btn" })
    @Html.ActionLink("Vote Tester", "VoteTester", "User",new {id=Model.UserProfileId}, new { @class = "btn" })
    @Html.ActionLink("Vote Developer", "VoteDev", "User",new {id=Model.UserProfileId}, new { @class = "btn" })
</div>
@{
    if (Model.ShowTesterProfile)
    {
    @Html.Partial("_TesterProfile")
    }
    if (Model.ShowDevProfile)
    {
    @Html.Partial("_DevProfile")
    }    
}
